<template>
  <view-box ref="viewBox" body-padding-top="46px" body-padding-bottom="0">
    <x-header slot="header"
              style="width:100%;position:absolute;left:0;top:0;z-index:100;"
              :left-options="{backText: ''}"
              title="12345信箱">
      <router-link v-if="$route.path != '/12345/form' && $route.path != '/12345/success'" to="/12345/form" slot="right">
        我要写信
      </router-link>
    </x-header>
    <router-view></router-view>
  </view-box>
</template>

<script>
  import ViewBox from 'vux/src/components/view-box/index'
  import XHeader from 'vux/src/components/x-header/index'

  export default {
    components: {
      ViewBox,
      XHeader
    },
    computed: {
    },
    data () {
      return {}
    },
    mounted () {
    }
  }
</script>

<style scoped>

</style>
